<html>
<head>
	<title>Computer Submit</title>
</head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">	
<div align="center">
	<table border="0" cellpadding="0" cellspacing="0" width="900" height="100%" bgcolor="#EDEAE9">
		<tr>
			<td width="906" height="616" colspan="4" valign="top">
		<table border="0" cellpadding="10" cellspacing="0" width="905" height="30">
		<tr>
			<td width="900" bgcolor="#000000">
				<span style="background-color: #000000"><font color="#CF4711" face="Tahoma">Computer Lab Management Cpr.E KMUTNB </font><font color="#808080" face="Tahoma">| </font>
				<font color="#FFFFFF" face="Tahoma"> Log in</font></span></td>
		</tr>
	</table>
	<fieldset>
		<legend><pre>Login</pre></legend>
			{% if user.is_authenticated %}
			<!-- Authenticate account menu -->
			{% else %}
			<pre>  Please Login</pre>
			<form action="/login/" method="post" accept-charset="utf-8">
				<pre>  <label for="username">Username :</label> <input type="text" name="username" value="" id="username" /></pre>
				<pre>  <label for="password">Password :</label> <input type="password" name="password" value="" id="password" /></pre>
				<pre>             <input type="submit" value="Login →"></pre>
			</form>
			{% endif %}
			{% if errors %}
			<ul>
			{% for errors in errors %}
			<pre>        {{ errors }}</pre>
			{% endfor %}
			{% endif %}
			</ul>
	</fieldset> 
</div>
</body>
</html>
